package cn.gqr.entity;

import org.springframework.data.mongodb.core.mapping.Document;

@Document("t_collect")
public class Collect {

    private String id;
    private String uid;
    private String bid;

    public Collect( String uid, String bid) {
        this.uid = uid;
        this.bid = bid;
    }

    public Collect() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "id='" + id + '\'' +
                ", uid='" + uid + '\'' +
                ", bid='" + bid + '\'' +
                '}';
    }
}
